/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Vue;

import java.awt.Color;
import java.awt.Component;
import javax.swing.JFrame;
import javax.swing.JPanel;


/**
 *It's our Main Windows which contains all the Other Frame
 * @author Bakalian
 */
public class Window extends JFrame{
    
    
    public Window (JPanel myPanel){
            
            this.setFocusable(false);
	    this.setTitle("Repertoire");
            
	    this.setSize(800 ,800);
            
	    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    this.setLocationRelativeTo(null);
	    this.setResizable(false);
	    this.setVisible(true);
           
            this.setContentPane(myPanel);
            
    }
    
    public void changeBackground(int n){
       // this.getContentPane().getComponent(n).remove();
    }
    public void addBackground(Component c){
        
    }
}
